home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.cyberramp.net!news
- From: sinan@cyberramp.net (John Noland)
- Newsgroups: comp.lang.c
- Subject: Re: CONVERTING INTEGER TO ASCII??????
- Date: 14 Mar 1996 21:38:50 GMT
- Organization: Prose Software
- Message-ID: <4ia3lb$i46@newshost.cyberramp.net>
- References: <4i17r9$2kn@maltese.eag.unisysgsg.com> <4i1cvg$1cg@solutions.solon.com>
- NNTP-Posting-Host: ramp3-4.cyberramp.net
- X-Newsreader: WinVN 0.99.5
-
- In article <4i1cvg$1cg@solutions.solon.com>, seebs@solutions.solon.com says...
-
- >Can anyone tell me why it is that dozens of people every year post this
- >exact same question, and *none* of them have thought about sprintf?
-
- Is this one them there 'torical questions?!?
-
- Haven't you ever overlooked the obvious, Peter? As a young(er) programmer, I
- remember that I used to write these crazy conversion routines for everything.
- One day, another programmer was looking at my code and he said, "Why don't
- you just use sprintf here?". I was floored. That hadn't even crossed
- my mind. sprintf. What a cool function. I was so busy being clever, I
- overlooked the obvious. This was many years ago, but I still remember it and
- I still tend towards trying to be clever rather than obvious. Hmm, there's a
- lesson in there for me, somewhere. I just can't quite put my finger on it...
-
- - John
-
-